﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace INSTA.BankApplication.Engine
{
    /// <summary>
    /// Represents a <see cref="Bank"/> customer that will hold an account.
    /// </summary>
    public class Customer : Person, IBankCustomer
    {


        private int _id;

        /// <summary>
        /// The <see cref="Customer"/>'s Id
        /// </summary>
        public int Id
        {
            get { return _id;   }
            set { _id = value;  }
            
        }


        /// <summary>
        /// Gets the name of the complete.
        /// </summary>
        /// <returns>System.String.</returns>
        public string GetCompleteName()
        {
            return String.Format("{0} {1}", Name, FirstName);
        }
    }
}
